//
//  LZGrabCouponDetailPopView.h
//  laziz_Consumer
//
//  Created by xbnzd on 17/4/13.
//  Copyright © 2017年 XBN. All rights reserved.
//

#import <UIKit/UIKit.h>
@class LZGrabCouponAndFightGroupsDetialModel;


// ====================  2017.4.13 新版 优惠券详情UI 弹出框 展示
@interface LZGrabCouponDetailPopView : UIView

@property (nonatomic, assign) CouponState couponState;
@property (nonatomic, assign) CGPoint animationBeginPoint;
@property (nonatomic, strong) __block LZGrabCouponAndFightGroupsDetialModel *detailModel;

/**
 详情页抢券回调
 */
@property (nonatomic, copy) void(^getCouponBlock)(void);


/**
 移除动画结束后回调
 */
@property (nonatomic, copy) void(^cancelSelfAcimationEndBlock)(void);

/**
 动画展现 //从小到大. 一个弹性效果
 */
- (void)showSelfAnimation;


/**
 动画隐藏.从大到小.
 */
- (void)cancelSelfWithAnimation;


/**
 旋转并且变小 隐藏
 */
- (void)rotatingAnimationCloseSelf;

- (void)setButtonsUserInteractionEnabled:(BOOL)userInteractionEnabled;

@end
